* {
    margin: 0;
    padding: 0;
}

/* Header Styles */
header .header-content {
    width: 100%;
    background-image: url("images/banner-image.jpg");
    background-size: 100% 100%;
    background-blend-mode: overlay;
    background-color: rgba(0,0,0,0.025);
}

header img {
    max-height: 100%;
    padding-top: 0.5rem;
    padding-left: 0.5rem;
}

header .logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: 8rem;
}


header .logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

header h2 {
    font-size: 2.5rem;
    font-weight: 550;
    text-align: center;
    font-family: "Times New Roman", serif;
}

header h4 {
    font-size: 1rem;
    text-align: center;
    color: #767676;
    font-style: italic;
    font-family: "Times New Roman", serif;
    letter-spacing: .05rem;
}

.navigation {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

nav a {
    padding: 0.5rem 1rem;
}

.mobile-nav {
    display: none;
  }

.link {
    text-decoration: none;
    color: black;
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    padding: 0.5 1rem;
}

/* Styling New Client Button */
.client-button-container{
    display: flex;
    justify-content: center;
    margin-top: -0.5rem;
}

.client-button-container a{
    text-decoration: none;
}

.client-button{
    text-decoration: none;
    border: none;
    padding: 0.5rem 1rem;
    text-align: center;
    text-decoration: none;
    display: flex;
    justify-content: center;
    font-size: 1rem;
    transition-duration: 0.4s;
    cursor: pointer;
    background-color: rgba(92,135,39,0.8); 
    color: white; 
    border: 2px solid rgba(92,135,39,0.8);
    border-radius: 0.3rem;
}

.client-button:hover{
    background-color: white;
    color: rgba(92,135,39,0.8);
  }

/*Adjusting for wrapped menu bar*/
@media only screen and (min-width: 865px) and (max-width: 1375px) {
    nav .link-wrap{
        width: 10%;
        white-space: nowrap;
    }
}

/* Mobile Formatting */
@media only screen and (max-width: 720px) {
    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: inline;
    }

    header .header-content {
        height: 5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    header .logo {
        height: 5.5rem;
    }

    header h2{
        font-size: 1.5rem;
    }

    header h4{
        font-size: 0.75rem;
    }

    /* Style navigation menu links */
    #myLinks{
        display:none;
    }

    nav a {
        color: white;
        background-color: rgba(143,192,232,1);
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
        display: flex;
    }
  
    /* Style the hamburger menu */
    .mobile-nav a.icon {
        font-size: 1.5rem;
        width: 10vw;
        color: white;
        background-color: rgba(143,192,232,0);
        display: inline; 
    }
    
    /* Add a grey background color on mouse-over */
    .mobile-nav a:hover {
        background-color: #ddd;
        color: black;
    }
    
    /* Style the active link (or home/logo) */
    .active {
        background-color: #04AA6D;
        color: white;
    }

    nav button {
        margin-left: -0.5rem;
    }
}

/* Adjusting for really small screens */
@media only screen and (max-width: 555px) {
    header .logo {
        height: 4.5rem;
    }

    header h2{
        font-size: 1rem;
    }

    header h4{
        font-size: 0.375rem;
    }

    .mobile-nav a.icon {
        font-size: 1rem;
        padding: 0rem 0.65rem 0rem 0.5rem;
    }
}

/* Body Content */
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 0.5rem;
    grid-column-gap: 0.5rem;
    padding: 0.5rem;
}

.box {
    background-clip: content-box;
    border-radius: 20px;
    font-family: "Montserrat", sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.box h2 {
    font-weight: 500;
    padding-top: 1rem;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.tiny-rectangle {
    background-color: white;
    width: 10rem;
    height: 0.25rem;
    margin-bottom: 1.5rem;
}

.box h4 {
    font-size: 1.75rem;
    text-align: center;
    padding-bottom: 1rem;
    font-weight: 400;
    margin-left: 1rem;
    margin-right: 1rem;
}

.box img {
    padding: 0.5rem;
    height: 97.5%;
    width: 97.5%;
    border-radius: 20px;
}

.box p {
    font-size: 1.1rem;
    text-align: center;
    padding: 1rem;
}

.new-client{
    margin-bottom: 1rem;
}

.green {
    background-color: rgb(92,135,39,1);
}

.blue {
    background-color: rgba(143,192,232,1);
}

.yellow{
    background-color: rgb(248,235,126);
}

.dark-blue{
    background-color: darkblue;
}

.welcome {
    grid-column: 1 / span 2;
}

.image {
    grid-column: 1 / span 1;
}

.contact {
    grid-column: 1 / span 1;
}

.text {
    grid-column: 2 / span 1;
    grid-row: 2 / span 2;
}

/*Remove image when screen too small*/
@media only screen and (max-width: 1100px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .welcome {
        grid-column: 1 / span 1;
    }
    
    .image {
        display: none;
    }
    
    .contact {
        grid-column: 1 / span 1;
    }
    
    .text {
        grid-column: 1 / span 1;
    }
}

/*Remove excess text when mobile*/
@media only screen and (max-width: 720px) {
    .mobile-display-off {
        display: none;
    }
}

/*Fixing font sizes for smaller screens*/
@media only screen and (max-width: 1175px){
    .box h2 {
        font-size: 2.5rem;
    }
    
    .box h4 {
        font-size: 1.5rem;
    }
    
    .box p {
        font-size: 1.1rem;
    }
}

@media only screen and (max-width: 850px){
    .grid-container {
        grid-row-gap: 0.25rem;
        grid-column-gap: 0.25rem;
        padding: 0.25rem;
    }

    .box h2 {
        font-size: 1.25rem;
    }
    
    .box h4 {
        font-size: 1rem;
    }
    
    .box p {
        font-size: 1rem;
    }
}

/* Footer Styles */
footer { 
    height: 2.1rem;
    width: 100%;
    font-size: 1rem;
    font-family: "Times New Roman", serif;
    background-image: linear-gradient(to right,rgb(92,135,39,1), rgb(92,135,39,0.8));
    align-content: center;
}

footer h2 {
    font-weight: 500;
    color: white;
    padding-left: 0.5rem;
}

/* Services page styles */
.no-scroll-page {
    overflow-y: hidden;
}

.services-list {
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 1.4rem;
    font-family: "Montserrat", sans-serif;
    margin: 0.5rem 0 1rem 0;
    height: 100%;
    overflow-y: auto;
}

.services-list ul {
    height: 100%;
    margin-left: 1rem;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.indent {
    margin-left: 2rem;
}

.margin-box {
    margin: 0.5rem;
}

.margin-top {
    margin-top: 1rem;
}

@media only screen and (max-width: 450px) and (min-width: 376px){
    .services-list {
        font-size: 1.25rem;
    }
}

@media only screen and (max-width: 376px){
    .services-list {
        font-size: 1rem;
    }
}

/*History Styles*/
.info-txt {
    font-family: "Montserrat", sans-serif;
    text-align: justify;
}

.info-txt p {
    margin: 1rem;
}

.history ul {
    margin: 1rem;
    list-style-type: none;
}

.history li {
    margin: 1rem;
}

.wrap-img {
    width: 35%;
    margin: 0 1rem;
}

.top-margin {
    margin-top: 1rem;
}

.left-img {
    float: left;
}

.right-img {
    float: right;
}

.history-box-container {
    display: flex;
    justify-content: center;
}

.history .box {
    margin: 1rem;
    width: 80%;
    font-weight: 600;
}

.history .box p{
    padding: 0;
}

.history .box ul{
    margin-top: 0;
}

@media only screen and (max-width: 720px) {
    .history .wrap-img{
        display: none;
    }
}

/*About page*/
.bio-card {
    margin: 1rem;
    display: inline-flex;
    align-items: center;
}

.bio-card.reverse {
    flex-direction: row-reverse;
}

.bio-image { 
    height: 20rem;
}

.bio-image img{
    max-height: 100%;
    border-radius: 1rem;
    /* margin: 0.5rem 0; */
}

.bio-text {
    margin: 0 1rem;
    padding: 0 0.75rem;
    font-size: 1.25rem;
    text-align: justify;
    align-content: center;
}

.bio-text p {
    margin: 1rem 0;
}

.blue-border {
    border: 0.3rem solid rgba(143,192,232,1);
    border-radius: 0.75rem;
}

.green-border {
    border: 0.3rem solid rgba(92,135,39,0.8);
    border-radius: 0.75rem;
}

.yellow-border {
    border: 0.3rem solid rgb(248,235,126);
    border-radius: 0.75rem;
}

@media only screen and (max-width: 960px) {
    .bio-card {
        display: block;
        text-align: center;
        margin: 0;
    }

    .bio-image {
        display: block;
        height: 17.5rem;
        justify-items: center;
        margin: 0.5rem 0;
    }

    .bio-text {
        margin: 0.5rem;
        font-size: 1rem;
    }

}

/* Provider Styles */
.img-center {
    display: flex;
    justify-content: center;
}

.provider img{
    max-height: 7rem;
    max-width: 75%;
}

.provider .list-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.provider ul {
    margin: 1rem;
      width: 80%;
}

.provider li {
    margin-top: 1rem;
}

/*Contact Us Styles*/
.contact{
    overflow-y: hidden;
}

.contact-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    overflow-y: auto;
}

.contact .box {
    margin: 0.5rem 1rem 1rem 1rem;
}

.contact .box p {
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
    font-size: 1.5rem;
}

#big-button {
    font-size: 2rem;
}

.contact-table {
    display: flex;
    justify-content: center;
    text-align: center;
    height: 100%;
  }

.contact-table td{
    padding: 0.5rem;
    font-size: 2rem;
}

@media only screen and (max-width: 750px) {
    .contact-table td{
        font-size: 1.25rem;
    }

    .contact .box p{
        font-size: 1rem;
    }
}

/* FAQ Styles */

.faqs-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-family: "Montserrat", sans-serif;
    color: white;
    font-size: 2rem;
}

.faq-container {
    display: block;
    width: 80%;
    border-radius: 20px;
    overflow: hidden;
    margin: 1rem 0;

}

.faq {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.answer {
    opacity: 0.8;
    font-size: 1.5rem;
}

.answer p {
    padding: 1rem;
    text-align: justify;
}

.answer.active {
    display: block;
    height: 100%;
}

.answer.closed {
    height: 0;
}

.faq:after {
    content: '+';
    font-size: 3rem; 
    float: right;
    color: white;
}

.active.faq:after {
  content: '-';
  font-size: 3rem; 
}

.faq.closed:hover {
  opacity: 0.8;
}

.faq:hover {
    cursor: pointer;
}

@media only screen and (max-width: 720px) {
    .faqs-container {
        font-size: 1.25rem;
    }

    .answer {
        font-size: 0.75rem;
    }
}

/*Library Styles*/
.library-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.grid-item {
    font-family: "Montserrat", sans-serif;
    text-align: center;
    align-content: center;
    width: 250px;
    height: 200px;
    margin: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: 100% 100%;
}

.grid-coming-soon {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    text-align: center;
    align-content: center;
    width: 250px;
    height: 200px;
    margin: 1rem 0.5rem;
}

.thumbnail-img {
    width: 100%;
    height: 77.5%;
}

.grid-blank {
    border: none;
    width: 250px;
    height: 200px;
    margin: 1rem 0.5rem;
}

.library-header {
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    font-weight: 450;
    text-align: center;
    margin: 1rem;
}

.library-link {
    text-decoration: none;
    color: black;
}

a.library-link:hover {
  text-decoration: underline;
  color: blue;
}

a.library-link:visited {
    color: none;
}

@media only screen and (max-width: 720px) {
    .coming-soon {
        background-size: auto 100%;
    }

    .coming-soon h2 {
        font-size: 2rem;
    }

    .coming-soon h4 {
        font-size: 1rem;
    }
}

.email {
    color: blue;
    text-decoration: underline;
}

.phone-number {
    color: blue;
}

/*Associate Styles*/
.associate {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    overflow-y: auto;
}

@media only screen and (min-width: 800px) {
    .associate{
        font-size: 1.2rem;
    }
}

/*Book Styles */
.cover-container {
    height: 50vh;
    display: flex;
    justify-content: center;
    width: 100%;
}

.book-cover {
    height: 100%;
}

.book .list-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.level-1 {
    list-style-type: upper-roman;
    font-size: 1.25rem;
    font-weight: 600;
}

.level-2 {
    margin: 0 1.5rem;
    list-style-type: upper-alpha;
    font-weight: 400;
}

.level-3 {
    margin: 0 1.5rem;
    margin-left: 1.5rem;
    list-style-type: decimal;
    font-weight: 400;
    font-size: 1.1rem;
}

.footnote {
    margin-bottom: 0;
    font-size: 1.25rem;
}

#footnote {
    margin-bottom: 0;
    margin-left: 0.25rem;
}

.footnote-list {
    margin-left: 2.5rem;
    margin-bottom: 1rem;
}

@media only screen and (max-width: 700px) {
    .level-1 {
    font-size: 0.62rem;
    }

    .level-3 {
        font-size: 0.5rem;
    }

    .footnote {
        font-size: 0.62rem;
    }

    .footnote-list{
        font-size: 0.7rem;
        margin-right: 1rem;
        font-size: 0.62rem;
    }

    .cover-container {
        height: 40vh;
    }
}

.article-image {
    display: block;
    height: 40vh;
    margin: 0.5rem auto;
}

.article-title {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 3rem;
}

.article-author {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    color: grey;
    font-weight: 450;
    font-size: 1.5rem;
}

.article-paragraph {
    font-family: "Montserrat", sans-serif;
    margin: 1rem;
    text-align: justify;
    text-indent: 2em;
}

.article-more-info {
    font-family: "Montserrat", sans-serif;
    margin: 1rem;
    text-indent: 2em;
}

.article-author-card {
    font-family: "Montserrat", sans-serif;
    display: inline-flex;
    margin: 1rem;
    padding: 1rem;
    text-align: justify;
    align-items: center;
    background-color: rgba(143,192,232,1);
    color: white;
} 

.article-author-img {
    height: 15vh;
    margin-right: 1rem;
}

@media only screen and (max-width: 500px) {
    .article-author-card{
        display: inline-block;
        text-align: center;
    }

    .article-author-img {
        height: auto;
        width: 10rem;
        margin-right: 0;
        margin: 0 auto;
    }

    .article-author-bio {
        text-align: justify;
    }
}

.video {
    width: 60%;
    display: block;
    margin: 0 auto;
}

#video-page {
    text-align: justify;
}